import request from '@/utils/request';

// 获取系统组织架构
export function getSysStructsTreeApi(isEnable = true) {
  return request({
    url: process.env.VUE_APP_SYS_SERVICE + 'api/sysStruct/getSysStructsTree',
    method: 'get',
    params: {
      pkSysStruct: -1,
      isEnable: isEnable
    }
  });
}
